package com.zbkj.front.controller.merchant.monitor;

import com.zbkj.common.result.CommonResult;
import com.zbkj.service.service.monitor.IZfbMonitorTrafficSetMealService;
import io.swagger.annotations.Api;
import io.swagger.annotations.ApiOperation;
import lombok.extern.slf4j.Slf4j;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.*;

/**
 * @ClassName: ZfbMonitorTrafficSetMealController
 * @Description: 监控设备流量套餐
 * @Author: fanbing
 * @Date: 2024/11/2 10:18
 * @Version: V1.0
 **/
@Slf4j
@RestController
@RequestMapping("api/front/merchant/quipmentTrafficSetMeal")
@Api(tags = "商户端-监控设备流量套餐") //配合swagger使用
public class ZfbMonitorTrafficSetMealController {

    @Autowired
    private IZfbMonitorTrafficSetMealService zfbMonitorTrafficSetMealService;

    @ApiOperation(value = "监控设备流量套餐")
    @RequestMapping(value = "/getAll", method = RequestMethod.GET)
    public CommonResult getAll() {
        return CommonResult.success(zfbMonitorTrafficSetMealService.getAll());
    }

}
